package com.xmg.server.order.mapper;

import com.xmg.shop.api.order.domain.OrderInfo;
import com.xmg.shop.api.order.query.OrderInfoQueryObject;

import java.util.List;

public interface OrderInfoMapper {
    int deleteByPrimaryKey(Integer orderId);

    int insert(OrderInfo record);

    OrderInfo selectByPrimaryKey(Long orderId);

    List<OrderInfo> selectAll();

    int updateByPrimaryKey(OrderInfo record);

    Long queryPageCount(OrderInfoQueryObject qo);

    List<OrderInfo> queryPageData(OrderInfoQueryObject qo);
}